package com.pojo;

public class Search {
    private String keywords;
    private Integer userId;

    public Search() {
    }

    public Search(String keywords, Integer userId) {
        this.keywords = keywords;
        this.userId = userId;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "search{" +
                "keywords='" + keywords + '\'' +
                ", userId=" + userId +
                '}';
    }
}
